package com.cskaoyan.service;

import com.cskaoyan.bean.BaseRespVo;
import com.cskaoyan.bean.coupon.CouponCreateBO;
import com.cskaoyan.bean.coupon.CouponDeleteBO;
import com.cskaoyan.bean.coupon.CouponUpdateBO;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.po.MarketCoupon;

import java.io.IOException;

/**
 * @author chenai
 * @description TODO
 * @date 2022-06-06 17:19
 */
public interface CouponService {
    BaseRespVo list(BaseParam baseParam, String name, Short type);

    BaseRespVo create(CouponCreateBO couponCreateBO) throws IOException;

    BaseRespVo update(CouponUpdateBO couponUpdateBO);

    BaseRespVo delete(CouponDeleteBO couponDeleteBO);

    BaseRespVo listuser(BaseParam baseParam, Integer couponId);

    BaseRespVo read(Integer id);
}
